﻿<!doctype html>
<html class="no-js" lang="en" xmlns:th="http://www.thymeleaf.org"
      xmlns:sec="http://www.thymeleaf.org/extras/spring-security">

<head th:insert="~{/public::public-head}">

</head>
<link rel="stylesheet" type="text/css" th:href="@{/css/vendor/bootstrap-datetimepicker.min.css}">
<link rel="stylesheet" type="text/css" th:href="@{/css/jquery-labelauty.css}">
<style>

</style>

<body class="template-color-1">

    <div id="main-wrapper">
        <div th:insert="~{/public::navigate}"></div>
        <div style="height: 100px; border-bottom: 1px solid #e2e4ea"></div>

        <!-- 中间部分 Start -->
        <div class="dashboard-content-section section bg_color--5">
            <div class="container-fluid p-0">
                <div class="row no-gutters">
                    <!-- 侧边栏 -->
                    <div th:replace="~{/public::sidebar(active='profile')}"></div>
                    <!-- 具体内容 -->
                    <div class="col-xl-10 col-lg-9">

                        <div class="dashboard-main-inner">
                            <div class="row">
                                <div class="col-12">
                                    <div class="page-breadcrumb-content mb-40">
                                        <h1>我的简历</h1>
                                    </div>
                                    <div sec:authentication="authorities" hidden id="authorities"></div>
                                    <div sec:authorize="isAuthenticated()" sec:authentication="principal.userId"
                                         type="text" id="userId" hidden></div>
                                </div>
                            </div>

                            <!-- 简历 -->
                            <div class="create-account-area pt-100 pb-100">
                                <div class="container">

                                    <!-- 基本信息 -->
                                    <div class="create-information">
                                        <form action="#"th:action="@{/companySer/company/image}" id="uploadPhoto"
                                              enctype="multipart/form-data" method="post">
                                                <h3>基本信息</h3>
                                                <div class="create-photo-left"  style="float: right;" >
                                                    <label class="btn create-photo-left form-group" id="photo-logo">
                                                        <input type="file" id="photo" name="photo" class="photo"  style="left:-9999px;position:absolute;" onchange="Javascript:validate_img(this);">
                                                        <p class="fa fa-camera" style="margin-top: 100px"><br>选择照片</p>
                                                    </label>
                                                    <input type="text" name="type" value="userPhoto" hidden>
                                                    <input type="text" class="userId" name="userId" value="" hidden>
                                                </div>
                                        </form>
                                        <form>
                                            <div class="row">
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>你的名字</label>
                                                        <input type="text" class="form-control" id="name" placeholder="姓名">
                                                        <span id=""></span>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>出生日期</label>
                                                        <input type="text" id="birthday" class="form-control" placeholder="生日" readonly style="background: white">
                                                    </div>
                                                </div>

                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>你的邮件</label>
                                                        <input type="email" class="form-control" id="email" placeholder="邮箱地址">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>您的手机</label>
                                                        <input type="text" class="form-control" id="phone" placeholder="手机号">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="">
                                                        <label style="color: gray; margin-bottom: 20px">性别</label>
                                                        <ul class="sex" style="list-style-type: none;">
                                                            <li style="display: inline-block;"><input type="radio" name="sex" data-labelauty="男" value="男" checked=""></li>
                                                            <li style="display: inline-block;"><input type="radio" name="sex" data-labelauty="女" value="女"></li>
                                                        </ul>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>期望工作城市：</label>
                                                        <input type="text" class="form-control"  id="city" placeholder="城市">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>期望行业：</label>
                                                        <input type="text" class="form-control"  id="type" placeholder="行业类别">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>期望薪资：</label>
                                                        <input type="text" class="form-control"  id="money" placeholder="薪资范围（K/月）">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <label>工作经验：</label>
                                                    <div class="form-group" id="experienceList">
                                                        <select style="display: none;" class="form-control">
                                                        </select>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>自我评价</label>
                                                        <textarea id="your_message" class="form-control" rows="3" placeholder="自我评价 ……"></textarea>
                                                    </div>
                                                </div>
                                            </div>
                                            <button class="ht-btn theme-btn theme-btn-one" style="margin-left: 400px;" onclick="baseInfo();return false;">保存基本信息</button>
                                        </form>
                                    </div>

                                    <!-- 教育经历 -->
                                    <div class="create-education" id="add-education">
                                        <div class="create-education-wrap">
                                            <div class="create-education-left">
                                                <h3>教育经历</h3>
                                            </div>
                                            <button class="ht-btn theme-btn theme-btn-one" style="margin-left: 400px;" onclick="add_education('');">添加</button>
                                        </div>
                                        <!-- <form style="border-top: 1px solid gray;" id="del-education-1">
                                            <div class="row">
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>教育经历 - 1</label>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>学校名称</label>
                                                        <input type="text" class="form-control" id="school-1" placeholder="学校">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>教育时间段</label>
                                                        <div>
                                                            <input id="start_date-1" type="text" class="study-date form-control col-lg-5" style="float: left; background: white;" placeholder="起始年月" readonly>
                                                            <input type="text" class="form-control col-lg-2" style="float: left; font-size: 30px;border: none;" readonly value=" -">
                                                            <input id="end_date-1" type="text" class="study-date form-control col-lg-5" style="float: right; background: white;" placeholder="毕业年月" readonly>
                                                        </div>

                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>学历</label>
                                                        <select style="display: none;" class="form-control" id="education-1">
                                                            <option value="1">初中及以下</option>
                                                            <option value="2">高中</option>
                                                            <option value="3">大专</option>
                                                            <option value="4">本科</option>
                                                            <option value="5">……</option>
                                                        </select>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>专业</label>
                                                        <input type="text" class="form-control" id="major-1">
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>在校经历</label>
                                                        <textarea id="association_activity-1" class="form-control" style="height: 250px;" placeholder="在校经历 ……"></textarea>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <button class="btn btn-danger" style="float: right;" onclick="del_model('del-education', 1);">删除</button>

                                                    <button class="btn btn-success" style="float: right; margin-right: 20px;">保存</button>
                                                </div>
                                            </div>
                                        </form> -->
                                    </div>

                                    <!-- 技能 -->
                                    <div class="create-skills" id="add-skills">
                                        <div class="create-skills-wrap">
                                            <div class="create-skills-left">
                                                <h3>技能</h3>
                                            </div>
                                            <button class="ht-btn theme-btn theme-btn-one" style="margin-left: 400px;" onclick="add_skills('');">添加</button>
                                        </div>
                                        <!-- <form style="border-top: 1px solid gray;" id="del-skills-1">
                                            <div class="row">
                                                <div class="col-lg-5">
                                                    <div class="form-group">
                                                        <label>技能 - 1</label>
                                                        <input type="text" class="form-control" id="skills-1" placeholder="掌握技能">
                                                    </div>
                                                </div>
                                                <div class="col-lg-3">
                                                    <div class="form-group">
                                                        <label>掌握程度</label>
                                                        <select  class="form-control" id="degree-1">
                                                            <option value="0" selected="">请选择</option>
                                                            <option value="1">了解</option>
                                                            <option value="2">一般</option>
                                                            <option value="3">熟悉</option>
                                                            <option value="4">精通</option>
                                                        </select>
                                                    </div>
                                                </div>
                                                <div class="col-lg-2">
                                                    <div class="form-group" style="text-align: center;">
                                                        <label>保存</label>
                                                        <a class="form-control lnr lnr-thumbs-up" style="border: none;line-height: 35px"></a>
                                                    </div>
                                                </div>
                                                <div class="col-lg-2">
                                                    <div class="form-group" style="text-align: center;">
                                                        <label>删除</label>
                                                        <a class="form-control lnr lnr-trash" style="border: none;line-height: 35px" onclick="del_model('del-skills',1)"></a>
                                                    </div>
                                                </div>
                                            </div>
                                        </form> -->
                                    </div>

                                    <!-- 工作经历 -->
                                    <div class="create-skills" id="add-work">
                                        <div class="create-skills-wrap">
                                            <div class="create-skills-left">
                                                <h3>工作经历</h3>
                                            </div>
                                            <button class="ht-btn theme-btn theme-btn-one" style="margin-left: 400px;" onclick="add_work('');">添加</button>
                                        </div>
                                        <!-- <form style="border-top: 1px solid gray;" id="del-work-1">
                                            <div class="row">
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>工作经历 - 1</label>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>公司名称</label>
                                                        <input type="text" class="form-control" id="company-name-1" placeholder="例如：阿里巴巴网络技术有限公司">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>所属行业</label>
                                                        <input type="text" class="form-control" id="industry-1" placeholder="行业所属">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>所属部门（选填）</label>
                                                        <input type="text" class="form-control" id="department-1" placeholder="例如：产品部">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>职位名称（选填）</label>
                                                        <input type="text" class="form-control" id="position-1" placeholder="例如：UI 设计师">
                                                    </div>
                                                </div>
                                                <div class="col-lg-8">
                                                    <div class="form-group">
                                                        <label>在职时间段</label>
                                                        <div>
                                                            <input id="work_start_date-1" type="text" class="work-date form-control col-lg-4" style="float: left; background: white;" placeholder="起始年月日" readonly>
                                                            <input type="text" class="form-control col-lg-2" style="float: left; font-size: 30px;border: none;" readonly value=" -">
                                                            <input id="work_end_date-1" type="text" class="work-date form-control col-lg-4" style="float: left; background: white;" placeholder="结束年月日" readonly>
                                                            <div style="float: left;margin-top: 10px;" class="col-lg-2">
                                                                <input type="checkbox" id="work-now-1" >
                                                                <label>至今</label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>项目描述</label>
                                                        <textarea id="work-content-1" class="form-control" style="height: 250px;" placeholder="工作内容 ……"></textarea>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <button class="btn btn-danger" style="float: right;" onclick="del_model('del-work',1)">删除</button>
                                                    <button class="btn btn-success" style="float: right; margin-right: 20px;">保存</button>
                                                </div>
                                            </div>
                                        </form> -->
                                    </div>

                                    <!-- 项目经历 -->
                                    <div class="create-skills" id="add-project">
                                        <div class="create-skills-wrap">
                                            <div class="create-skills-left">
                                                <h3>项目经历</h3>
                                            </div>
                                            <button class="ht-btn theme-btn theme-btn-one" style="margin-left: 400px;" onclick="add_project('');">添加</button>
                                        </div>
                                        <!-- <form style="border-top: 1px solid gray;" id="del-project-1">
                                            <div class="row">
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>项目经历 - 1</label>
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>项目名称</label>
                                                        <input type="text" class="form-control" id="project-name-1" placeholder="项目名称">
                                                    </div>
                                                </div>
                                                <div class="col-lg-6">
                                                    <div class="form-group">
                                                        <label>项目角色</label>
                                                        <input type="text" class="form-control" id="project-role-1" placeholder="例如：UI 设计师">
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>项目链接</label>
                                                        <input type="text" class="form-control" id="department-1" placeholder="例如：https://gitee.com/yuan934672344/my-job">
                                                    </div>
                                                </div>
                                                <div class="col-lg-8">
                                                    <div class="form-group">
                                                        <label>项目起始时间</label>
                                                        <div>
                                                            <input id="pro_start_date-1" type="text" class="study-date form-control col-lg-4" style="float: left; background: white;" placeholder="起始年月" readonly>
                                                            <input type="text" class="form-control col-lg-2" style="float: left; font-size: 30px;border: none;" readonly value="  -">
                                                            <input id="pro_end_date-1" type="text" class="study-date form-control col-lg-4" style="float: left; background: white;" placeholder="结束年月" readonly>
                                                            <div style="float: left;margin-top: 10px;" class="col-lg-2">
                                                                <input type="checkbox" id="pro_now-1" >
                                                                <label>至今</label>
                                                            </div>
                                                        </div>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <div class="form-group">
                                                        <label>项目描述</label>
                                                        <textarea id="job-content-1" class="form-control" style="height: 250px;" placeholder="工作内容 ……"></textarea>
                                                    </div>
                                                </div>
                                                <div class="col-lg-12">
                                                    <button class="btn btn-danger" style="float: right;" onclick="del_model('del-project',1)">删除</button>

                                                    <button class="btn btn-success" style="float: right; margin-right: 20px;">保存</button>
                                                </div>
                                            </div>
                                        </form> -->
                                    </div>

                                    <!-- 个人网站 -->
                                    <div class="create-skills" id="add-website">
                                        <div class="create-skills-wrap">
                                            <div class="create-skills-left">
                                                <h3>个人网站（选填）</h3>
                                            </div>
                                            <button class="ht-btn theme-btn theme-btn-one" style="margin-left: 400px;" onclick="add_website('');">添加</button>
                                        </div>
                                        <!-- <form style="border-top: 1px solid gray;" id="del-website-1">
                                            <div class="row">
                                                <div class="col-lg-8">
                                                    <div class="form-group">
                                                        <label>个人网站 - 1</label>
                                                        <input type="text" class="form-control" id="personal-website-1" placeholder="CSDN、GitHub ……">
                                                    </div>
                                                </div>
                                                <div class="col-lg-2">
                                                    <div class="form-group" style="text-align: center;">
                                                        <label>保存</label>
                                                        <a class="form-control lnr lnr-thumbs-up" style="border: none;line-height: 35px"></a>
                                                    </div>
                                                </div>
                                                <div class="col-lg-2">
                                                    <div class="form-group" style="text-align: center;">
                                                        <label>删除</label>
                                                        <a class="form-control lnr lnr-trash" style="border: none;line-height: 35px" onclick="del_model('del-website',1)"></a>
                                                    </div>
                                                </div>
                                            </div>
                                        </form> -->
                                    </div>
                                </div>
                            </div>
                            <!-- End Create Account -->
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <!-- 中间部分 End -->

        <div th:insert="~{/public::footer}"></div>
    </div>

    <div th:replace="~{/public::public-js}"></div>
    <script th:src="@{/js/vendor/bootstrap-datetimepicker.min.js}"></script>
    <script th:src="@{/js/vendor/locales/bootstrap-datetimepicker.zh-CN.js}"></script>
    <script th:src="@{/js/jquery-labelauty.js}"></script>

    <script th:src="@{/js/myjob/job/profilePage.js}"></script>
</body>

</html>
